//引入组件
import nepmViewVue from '../views/NEPM/nepmView.vue'
import Roles from '../components/NEPM/roles.vue'
import Aqi from '../components/NEPM/aqi.vue'
import Charts from '../components/NEPM/charts.vue'
import Supervisor from '../components/NEPM/supervisor.vue'


const children = [
    {
        path: 'roles',
        name: 'Roles',
        component: Roles,
        meta: { title: 'Roles' }
    }, {
        path: 'aqi',
        name: 'Aqi',
        component: Aqi,
        meta: { title: 'Aqi' }
    }, {
        path: 'charts',
        name: 'Charts',
        component: Charts,
        meta: { title: 'Charts' }
    }, {
        path: 'supervisor',
        name: 'Supervisor',
        component: Supervisor,
        meta: { title: 'Supervisor' }
    },
]


const nepmRouter: any = {
    path: '/nepm',
    name: 'nepm',
    component: nepmViewVue,
    meta: {},
    children,
}



export default nepmRouter